package com.shop2cn.iapi.sqsynctrade.paremeter.mongo.details;

import java.math.BigDecimal;

import org.springframework.data.mongodb.core.mapping.Field;

public class ProductProxyPo {
	
	/**
	 * cataId
	 * 规格id
	 */
	@Field("cataId")
	private String catalogId;
	
	/**
	 * seller
	 * 商家
	 */
	@Field("seller")
	private long sellerId;
	
	/**
	 * fpPrc
	 * 从上层代理的拿货价
	 */
	@Field("fpPrc")
	private BigDecimal fromParentPrice;
	
	/**
	 * tcPrc
	 * 转给下层代理的出手价
	 */
	@Field("tcPrc")
	private BigDecimal toChildPrice;
	
	/**
	 * title
	 * 买手设定的商品标题
	 */
	@Field("title")
	private String title;
	
	/**
	 * picUrl
	 * 买手设定的商品图片
	 */
	@Field("picUrl")
	private String pictureUrl;
	
	/**
	 * index
	 * 在代理链的位置，越小越靠近货头
	 */
	@Field("index")
	private int indexInChain;
	
	/**
	 * cSeller
	 * seller的下一级代理, 0代表无下级
	 */
	@Field("cSeller")
	private long childSellerId;
	
	/**
	 * fpPrcTp
	 * 上级价格类型
	 */
	@Field("fpPrcTp")
	private Integer fromParentPriceType;
	
	/**
	 * fxShop
	 * 是否分销小店
	 */
	@Field("fxShop")
	private Boolean isFenxiaoShop;
	
	/**
	 * pCataId
	 * 买手本人的规格id
	 */
	@Field("pCataId")
	private String proxyCatalogId;

	public String getCatalogId() {
		return catalogId;
	}

	public void setCatalogId(String catalogId) {
		this.catalogId = catalogId;
	}

	public BigDecimal getFromParentPrice() {
		return fromParentPrice;
	}

	public void setFromParentPrice(BigDecimal fromParentPrice) {
		this.fromParentPrice = fromParentPrice;
	}

	public BigDecimal getToChildPrice() {
		return toChildPrice;
	}

	public void setToChildPrice(BigDecimal toChildPrice) {
		this.toChildPrice = toChildPrice;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPictureUrl() {
		return pictureUrl;
	}

	public void setPictureUrl(String pictureUrl) {
		this.pictureUrl = pictureUrl;
	}

	public long getSellerId() {
		return sellerId;
	}

	public void setSellerId(long sellerId) {
		this.sellerId = sellerId;
	}

	public int getIndexInChain() {
		return indexInChain;
	}

	public void setIndexInChain(int indexInChain) {
		this.indexInChain = indexInChain;
	}

	public long getChildSellerId() {
		return childSellerId;
	}

	public void setChildSellerId(long childSellerId) {
		this.childSellerId = childSellerId;
	}

	public String getProxyCatalogId() {
		return proxyCatalogId;
	}

	public void setProxyCatalogId(String proxyCatalogId) {
		this.proxyCatalogId = proxyCatalogId;
	}

	public Integer getFromParentPriceType() {
		return fromParentPriceType;
	}

	public void setFromParentPriceType(Integer fromParentPriceType) {
		this.fromParentPriceType = fromParentPriceType;
	}

	public Boolean getIsFenxiaoShop() {
		return isFenxiaoShop;
	}

	public void setIsFenxiaoShop(Boolean isFenxiaoShop) {
		this.isFenxiaoShop = isFenxiaoShop;
	}
}
